package com.lenovo.manufacture;

import android.content.Context;
import android.os.Bundle;
import android.widget.LinearLayout;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

/**
 * @author Amoly
 * @date 2019/10/24.
 * GitHub：
 * email：
 * description：
 */
public class TestActivity extends AppCompatActivity {
    private LinearLayout rootView;
    Context context;

    //1对应小圆圈 2 对应大圆圈 3对应警告
    private int[] abc= new int[]{
            1,2,3,1,2,3,
                      1,
            3,2,1,1,2,3,
            1,
            1,1,1,1,1,1
    };
    //0右边 1左边
    private int fangxiang=0;
    private int max = 5;
    private int index=0;


    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test);
        context=this;
        initView();
    }

    private void initView() {
        rootView = (LinearLayout) findViewById(R.id.rootView);
    }

    void addWaringShape(){

    }
    void addSimleShape(){

    }
    void addBigShape(){

    }
}
